x86 mce: Make mce_action action be usable for both delayed handler and
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Jun 2010 07:18:11 +0000 (08:18 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Jun 2010 07:18:11 +0000 (08:18 +0100)
commit2cde85c7912f2bdf8a090d84b4278ee369b6673d
tree2afc66083337c7497242f0d98226732fcccd303d
parent817b39b2e4112467243303b1e02b2531f1936319
x86 mce: Make mce_action action be usable for both delayed handler and
urgent handler

Originally mce_action is called for delayed hander. Change it to be
used for both delayed handler and urgent handler.Wrap it with
mce_delayed_action for delay handler.

Change the return value to be more clearly.

Change the mca handler from mca_code to a function to be more
flexible. And change the interface to mce_handler to be mca_binfo to
pass more information.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
xen/arch/x86/cpu/mcheck/mce_intel.c
xen/arch/x86/cpu/mcheck/x86_mca.h